$(document).ready(function()
{
    $('.ketqua').hide();

    $('#banggia-hangsx').change(function()
    {
        var val = $('#banggia-hangsx').val();
        if (val == 'null') return;
        $.ajax({
            url: 'ajax_controller.php',
            data: {
                requestType: 'PGlobal',
                requestName: 'renderBanggia',
                requestParams: val
            },
            success: function(data)
            {
                $('.table-ketqua').html(data);
                Dialog.hide();

                $('.ketqua').hide().show(1000);
            }
        });
    })
});